package com.three.aboutus.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.About;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 86156
* @description 针对表【tb_about(关于表)】的数据库操作Mapper
* @createDate 2025-03-14 11:53:21
* @Entity com.aaa.entity.About
*/
@Mapper
public interface AboutMapper extends BaseMapper<About> {

    int deleteByPrimaryKey(Long id);

    int insert(About record);

    int insertSelective(About record);

    About selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(About record);

    int updateByPrimaryKey(About record);

    Page<About> findAboutByCondition(Page<About> page, @Param("userId") Integer userId);

    int insetabout(About about);

    int updateIsvalid(About about);

    About selectByName(String name);

    About selectFirst();
}
